import http from '@/utils/request';


class DistrictService {

    /**
     * 行政地区（list）
     */
    static all(params) {
        let url = '/store/district/all';
        return http.post(url, params);
    }

    /**
     * 行政地区（tree）
     */
    static tree(params) {
        let url = '/store/district/tree';
        return http.post(url, params);
    }

}

export default DistrictService;
